// Lean compiler output
// Module: Lean.Data.Lsp.LanguageFeatures
// Imports: Init Lean.Data.Json Lean.Data.Lsp.Basic
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
size_t l_USize_add(size_t, size_t);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__31;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__59;
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__3;
lean_object* l_Lean_Lsp_instToJsonHoverParams(lean_object*);
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1299_(lean_object*);
lean_object* lean_array_uget(lean_object*, size_t);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__61;
lean_object* l_Lean_Lsp_instFromJsonDefinitionParams___boxed(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__75;
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__26;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__58;
lean_object* l_Lean_Lsp_instFromJsonHoverParams___boxed(lean_object*);
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1299____spec__1(lean_object*, lean_object*);
extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_1626____closed__2;
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__1;
lean_object* l_Lean_Lsp_DocumentSymbolAux_children_x3f___default(lean_object*);
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_631____spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonDocumentSymbolAux___rarg(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__12;
lean_object* l_Lean_Lsp_instToJsonDocumentSymbol;
lean_object* l_Lean_Lsp_instToJsonSymbolKind_match__1(lean_object*);
lean_object* lean_array_get_size(lean_object*);
lean_object* l_Lean_Lsp_instFromJsonDeclarationParams(lean_object*);
lean_object* l_Lean_Lsp_instToJsonDefinitionParams(lean_object*);
lean_object* l_Lean_Lsp_instFromJsonDefinitionParams(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__71;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__7;
lean_object* l_Lean_Json_opt___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__2(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__42;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__53;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__37;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__55;
lean_object* l_Lean_Lsp_instToJsonSymbolKind_match__1___rarg___boxed(lean_object**);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__3;
lean_object* l_List_join___rarg(lean_object*);
uint8_t l_USize_decLt(size_t, size_t);
lean_object* l_Lean_Lsp_instToJsonHover___closed__1;
lean_object* l_Lean_Lsp_instToJsonDocumentSymbolParams;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__14;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__28;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__5;
extern lean_object* l_Int_Int_pow___closed__1;
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11____closed__1;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__76;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__18;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__15;
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_1354____spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__10;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__32;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__73;
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__20;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__30;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__43;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__66;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__56;
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11_(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__16;
lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3(size_t, size_t, lean_object*);
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__2;
lean_object* l_Lean_Lsp_Hover_range_x3f___default;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__63;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__24;
lean_object* l_Lean_Lsp_instToJsonSymbolKind_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__49;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__50;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__6;
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__2___rarg(lean_object*, size_t, size_t, lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__34;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__48;
lean_object* l_Lean_Lsp_instToJsonSymbolKind(uint8_t);
lean_object* l_Lean_Lsp_instFromJsonDocumentSymbolParams;
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__1(lean_object*);
lean_object* l_Lean_Lsp_instFromJsonTypeDefinitionParams(lean_object*);
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__1(lean_object*);
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1265_(lean_object*);
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__4;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__72;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__23;
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_584____spec__1(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonDocumentSymbol_go_match__1(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__13;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__41;
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376_(lean_object*);
lean_object* l_Lean_Lsp_instToJsonDocumentSymbolAux(lean_object*);
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_239_(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__38;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__21;
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40____boxed(lean_object*);
lean_object* l_Lean_Lsp_instToJsonDeclarationParams(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__22;
size_t lean_usize_of_nat(lean_object*);
extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_499____closed__2;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__62;
extern lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1053____closed__1;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__54;
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_915_(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__33;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__25;
lean_object* l_Lean_Lsp_instFromJsonDeclarationParams___boxed(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__29;
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_1660_(lean_object*);
lean_object* l_Lean_Lsp_DocumentSymbolAux_detail_x3f___default;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__52;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__46;
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instFromJsonHoverParams(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__65;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__70;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__35;
lean_object* l_Lean_Lsp_instFromJsonTypeDefinitionParams___boxed(lean_object*);
lean_object* l_Lean_Lsp_instToJsonHover;
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonDocumentSymbol_go(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__36;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__51;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__19;
lean_object* l_Lean_Json_mkObj(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__39;
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_1626_(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__11;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__69;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__64;
lean_object* l_Lean_Lsp_instToJsonDocumentSymbol___closed__1;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__2;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__74;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__60;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__47;
extern lean_object* l_Lean_JsonNumber_toString___closed__1;
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_239____boxed(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__44;
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40____spec__1___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__1;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___boxed(lean_object*);
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40_(lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__57;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__17;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__8;
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_269_(lean_object*);
lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_353_(lean_object*);
lean_object* l_Lean_Lsp_instFromJsonHover;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__45;
lean_object* l_Lean_Lsp_instFromJsonHover___closed__1;
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__1___rarg(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__67;
lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__9;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__40;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__27;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__4;
lean_object* l_Lean_Lsp_instToJsonDocumentSymbolParams___closed__1;
lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__68;
lean_object* l_Lean_Lsp_instToJsonDocumentSymbolResult(lean_object*);
lean_object* l_Lean_Lsp_instToJsonTypeDefinitionParams(lean_object*);
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__2(lean_object*);
lean_object* l_Lean_Lsp_instFromJsonDocumentSymbolParams___closed__1;
lean_object* lean_nat_to_int(lean_object*);
lean_object* l_Lean_Lsp_instToJsonDocumentSymbol_go_match__1___rarg(lean_object*, lean_object*);
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40____spec__1(lean_object*, lean_object*);
static lean_object* _init_l_Lean_Lsp_Hover_range_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11____closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("contents");
return x_1;
}
}
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_1626_(x_2);
lean_dec(x_2);
x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11____closed__1;
x_5 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_3);
x_6 = lean_box(0);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_5);
lean_ctor_set(x_7, 1, x_6);
x_8 = lean_ctor_get(x_1, 1);
lean_inc(x_8);
lean_dec(x_1);
x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_499____closed__2;
x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_584____spec__1(x_9, x_8);
x_11 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_6);
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_7);
lean_ctor_set(x_12, 1, x_11);
x_13 = l_List_join___rarg(x_12);
x_14 = l_Lean_Json_mkObj(x_13);
return x_14;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonHover___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonHover() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonHover___closed__1;
return x_1;
}
}
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40____spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_1660_(x_3);
lean_dec(x_3);
return x_4;
}
}
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11____closed__1;
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40____spec__1(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_4; 
x_4 = lean_box(0);
return x_4;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_499____closed__2;
x_7 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_631____spec__1(x_1, x_6);
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_8; 
lean_dec(x_5);
x_8 = lean_box(0);
return x_8;
}
else
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_7);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_7, 0);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_5);
lean_ctor_set(x_11, 1, x_10);
lean_ctor_set(x_7, 0, x_11);
return x_7;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_12 = lean_ctor_get(x_7, 0);
lean_inc(x_12);
lean_dec(x_7);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_5);
lean_ctor_set(x_13, 1, x_12);
x_14 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
}
}
}
lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40____spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40____spec__1(x_1, x_2);
lean_dec(x_2);
lean_dec(x_1);
return x_3;
}
}
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40_(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonHover___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_40____boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonHover() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonHover___closed__1;
return x_1;
}
}
lean_object* l_Lean_Lsp_instFromJsonHoverParams(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1299_(x_1);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
x_3 = lean_box(0);
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_2);
if (x_4 == 0)
{
return x_2;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_2, 0);
lean_inc(x_5);
lean_dec(x_2);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
}
}
lean_object* l_Lean_Lsp_instFromJsonHoverParams___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_instFromJsonHoverParams(x_1);
lean_dec(x_1);
return x_2;
}
}
lean_object* l_Lean_Lsp_instToJsonHoverParams(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1265_(x_1);
return x_2;
}
}
lean_object* l_Lean_Lsp_instFromJsonDeclarationParams(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1299_(x_1);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
x_3 = lean_box(0);
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_2);
if (x_4 == 0)
{
return x_2;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_2, 0);
lean_inc(x_5);
lean_dec(x_2);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
}
}
lean_object* l_Lean_Lsp_instFromJsonDeclarationParams___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_instFromJsonDeclarationParams(x_1);
lean_dec(x_1);
return x_2;
}
}
lean_object* l_Lean_Lsp_instToJsonDeclarationParams(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1265_(x_1);
return x_2;
}
}
lean_object* l_Lean_Lsp_instFromJsonDefinitionParams(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1299_(x_1);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
x_3 = lean_box(0);
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_2);
if (x_4 == 0)
{
return x_2;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_2, 0);
lean_inc(x_5);
lean_dec(x_2);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
}
}
lean_object* l_Lean_Lsp_instFromJsonDefinitionParams___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_instFromJsonDefinitionParams(x_1);
lean_dec(x_1);
return x_2;
}
}
lean_object* l_Lean_Lsp_instToJsonDefinitionParams(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1265_(x_1);
return x_2;
}
}
lean_object* l_Lean_Lsp_instFromJsonTypeDefinitionParams(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1299_(x_1);
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
x_3 = lean_box(0);
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_2);
if (x_4 == 0)
{
return x_2;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_2, 0);
lean_inc(x_5);
lean_dec(x_2);
x_6 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
}
}
lean_object* l_Lean_Lsp_instFromJsonTypeDefinitionParams___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_instFromJsonTypeDefinitionParams(x_1);
lean_dec(x_1);
return x_2;
}
}
lean_object* l_Lean_Lsp_instToJsonTypeDefinitionParams(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1265_(x_1);
return x_2;
}
}
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_239_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1053____closed__1;
x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_1299____spec__1(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_4; 
x_4 = lean_box(0);
return x_4;
}
else
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_3);
if (x_5 == 0)
{
return x_3;
}
else
{
lean_object* x_6; lean_object* x_7; 
x_6 = lean_ctor_get(x_3, 0);
lean_inc(x_6);
lean_dec(x_3);
x_7 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_7, 0, x_6);
return x_7;
}
}
}
}
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_239____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_239_(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonDocumentSymbolParams___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_239____boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonDocumentSymbolParams() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonDocumentSymbolParams___closed__1;
return x_1;
}
}
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_269_(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_915_(x_1);
x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1053____closed__1;
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
x_5 = lean_box(0);
x_6 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_6, 0, x_4);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_5);
x_8 = l_List_join___rarg(x_7);
x_9 = l_Lean_Json_mkObj(x_8);
return x_9;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonDocumentSymbolParams___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_269_), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonDocumentSymbolParams() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonDocumentSymbolParams___closed__1;
return x_1;
}
}
lean_object* l_Lean_Lsp_instToJsonSymbolKind_match__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23, lean_object* x_24, lean_object* x_25, lean_object* x_26, lean_object* x_27) {
_start:
{
switch (x_1) {
case 0:
{
lean_object* x_28; lean_object* x_29; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
x_28 = lean_box(0);
x_29 = lean_apply_1(x_2, x_28);
return x_29;
}
case 1:
{
lean_object* x_30; lean_object* x_31; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_2);
x_30 = lean_box(0);
x_31 = lean_apply_1(x_3, x_30);
return x_31;
}
case 2:
{
lean_object* x_32; lean_object* x_33; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_3);
lean_dec(x_2);
x_32 = lean_box(0);
x_33 = lean_apply_1(x_4, x_32);
return x_33;
}
case 3:
{
lean_object* x_34; lean_object* x_35; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_34 = lean_box(0);
x_35 = lean_apply_1(x_5, x_34);
return x_35;
}
case 4:
{
lean_object* x_36; lean_object* x_37; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_36 = lean_box(0);
x_37 = lean_apply_1(x_6, x_36);
return x_37;
}
case 5:
{
lean_object* x_38; lean_object* x_39; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_38 = lean_box(0);
x_39 = lean_apply_1(x_7, x_38);
return x_39;
}
case 6:
{
lean_object* x_40; lean_object* x_41; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_40 = lean_box(0);
x_41 = lean_apply_1(x_8, x_40);
return x_41;
}
case 7:
{
lean_object* x_42; lean_object* x_43; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_42 = lean_box(0);
x_43 = lean_apply_1(x_9, x_42);
return x_43;
}
case 8:
{
lean_object* x_44; lean_object* x_45; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_44 = lean_box(0);
x_45 = lean_apply_1(x_10, x_44);
return x_45;
}
case 9:
{
lean_object* x_46; lean_object* x_47; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_46 = lean_box(0);
x_47 = lean_apply_1(x_11, x_46);
return x_47;
}
case 10:
{
lean_object* x_48; lean_object* x_49; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_48 = lean_box(0);
x_49 = lean_apply_1(x_12, x_48);
return x_49;
}
case 11:
{
lean_object* x_50; lean_object* x_51; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_50 = lean_box(0);
x_51 = lean_apply_1(x_13, x_50);
return x_51;
}
case 12:
{
lean_object* x_52; lean_object* x_53; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_52 = lean_box(0);
x_53 = lean_apply_1(x_14, x_52);
return x_53;
}
case 13:
{
lean_object* x_54; lean_object* x_55; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_54 = lean_box(0);
x_55 = lean_apply_1(x_15, x_54);
return x_55;
}
case 14:
{
lean_object* x_56; lean_object* x_57; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_56 = lean_box(0);
x_57 = lean_apply_1(x_16, x_56);
return x_57;
}
case 15:
{
lean_object* x_58; lean_object* x_59; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_58 = lean_box(0);
x_59 = lean_apply_1(x_17, x_58);
return x_59;
}
case 16:
{
lean_object* x_60; lean_object* x_61; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_60 = lean_box(0);
x_61 = lean_apply_1(x_18, x_60);
return x_61;
}
case 17:
{
lean_object* x_62; lean_object* x_63; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_62 = lean_box(0);
x_63 = lean_apply_1(x_19, x_62);
return x_63;
}
case 18:
{
lean_object* x_64; lean_object* x_65; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_64 = lean_box(0);
x_65 = lean_apply_1(x_20, x_64);
return x_65;
}
case 19:
{
lean_object* x_66; lean_object* x_67; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_66 = lean_box(0);
x_67 = lean_apply_1(x_21, x_66);
return x_67;
}
case 20:
{
lean_object* x_68; lean_object* x_69; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_68 = lean_box(0);
x_69 = lean_apply_1(x_22, x_68);
return x_69;
}
case 21:
{
lean_object* x_70; lean_object* x_71; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_70 = lean_box(0);
x_71 = lean_apply_1(x_23, x_70);
return x_71;
}
case 22:
{
lean_object* x_72; lean_object* x_73; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_72 = lean_box(0);
x_73 = lean_apply_1(x_24, x_72);
return x_73;
}
case 23:
{
lean_object* x_74; lean_object* x_75; 
lean_dec(x_27);
lean_dec(x_26);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_74 = lean_box(0);
x_75 = lean_apply_1(x_25, x_74);
return x_75;
}
case 24:
{
lean_object* x_76; lean_object* x_77; 
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_76 = lean_box(0);
x_77 = lean_apply_1(x_26, x_76);
return x_77;
}
default: 
{
lean_object* x_78; lean_object* x_79; 
lean_dec(x_26);
lean_dec(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_dec(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_78 = lean_box(0);
x_79 = lean_apply_1(x_27, x_78);
return x_79;
}
}
}
}
lean_object* l_Lean_Lsp_instToJsonSymbolKind_match__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonSymbolKind_match__1___rarg___boxed), 27, 0);
return x_2;
}
}
lean_object* l_Lean_Lsp_instToJsonSymbolKind_match__1___rarg___boxed(lean_object** _args) {
lean_object* x_1 = _args[0];
lean_object* x_2 = _args[1];
lean_object* x_3 = _args[2];
lean_object* x_4 = _args[3];
lean_object* x_5 = _args[4];
lean_object* x_6 = _args[5];
lean_object* x_7 = _args[6];
lean_object* x_8 = _args[7];
lean_object* x_9 = _args[8];
lean_object* x_10 = _args[9];
lean_object* x_11 = _args[10];
lean_object* x_12 = _args[11];
lean_object* x_13 = _args[12];
lean_object* x_14 = _args[13];
lean_object* x_15 = _args[14];
lean_object* x_16 = _args[15];
lean_object* x_17 = _args[16];
lean_object* x_18 = _args[17];
lean_object* x_19 = _args[18];
lean_object* x_20 = _args[19];
lean_object* x_21 = _args[20];
lean_object* x_22 = _args[21];
lean_object* x_23 = _args[22];
lean_object* x_24 = _args[23];
lean_object* x_25 = _args[24];
lean_object* x_26 = _args[25];
lean_object* x_27 = _args[26];
_start:
{
uint8_t x_28; lean_object* x_29; 
x_28 = lean_unbox(x_1);
lean_dec(x_1);
x_29 = l_Lean_Lsp_instToJsonSymbolKind_match__1___rarg(x_28, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26, x_27);
return x_29;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Int_Int_pow___closed__1;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__1;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__3;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__4;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(3u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__6;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__7;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(4u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__9;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__11() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__10;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(5u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__12;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__13;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(6u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__15;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__16;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(7u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__19() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__18;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__19;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(8u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__21;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__22;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(9u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__24;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__25;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__27() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_JsonNumber_toString___closed__1;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__27;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(11u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__30() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__29;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__31() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__30;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(12u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__32;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__34() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__33;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__35() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(13u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__36() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__35;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__37() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__36;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__38() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(14u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__39() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__38;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__40() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__39;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__41() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(15u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__42() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__41;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__43() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__42;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__44() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(16u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__45() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__44;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__46() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__45;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__47() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(17u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__48() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__47;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__49() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__48;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__50() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(18u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__51() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__50;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__52() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__51;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__53() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(19u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__54() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__53;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__55() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__54;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__56() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(20u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__57() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__56;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__58() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__57;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__59() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(21u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__60() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__59;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__61() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__60;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__62() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(22u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__63() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__62;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__64() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__63;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__65() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(23u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__66() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__65;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__67() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__66;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__68() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(24u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__69() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__68;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__70() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__69;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__71() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(25u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__72() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__71;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__73() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__72;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__74() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(26u);
x_2 = lean_nat_to_int(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__75() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__74;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_3, 0, x_1);
lean_ctor_set(x_3, 1, x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonSymbolKind___closed__76() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonSymbolKind___closed__75;
x_2 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
lean_object* l_Lean_Lsp_instToJsonSymbolKind(uint8_t x_1) {
_start:
{
switch (x_1) {
case 0:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_instToJsonSymbolKind___closed__2;
return x_2;
}
case 1:
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instToJsonSymbolKind___closed__5;
return x_3;
}
case 2:
{
lean_object* x_4; 
x_4 = l_Lean_Lsp_instToJsonSymbolKind___closed__8;
return x_4;
}
case 3:
{
lean_object* x_5; 
x_5 = l_Lean_Lsp_instToJsonSymbolKind___closed__11;
return x_5;
}
case 4:
{
lean_object* x_6; 
x_6 = l_Lean_Lsp_instToJsonSymbolKind___closed__14;
return x_6;
}
case 5:
{
lean_object* x_7; 
x_7 = l_Lean_Lsp_instToJsonSymbolKind___closed__17;
return x_7;
}
case 6:
{
lean_object* x_8; 
x_8 = l_Lean_Lsp_instToJsonSymbolKind___closed__20;
return x_8;
}
case 7:
{
lean_object* x_9; 
x_9 = l_Lean_Lsp_instToJsonSymbolKind___closed__23;
return x_9;
}
case 8:
{
lean_object* x_10; 
x_10 = l_Lean_Lsp_instToJsonSymbolKind___closed__26;
return x_10;
}
case 9:
{
lean_object* x_11; 
x_11 = l_Lean_Lsp_instToJsonSymbolKind___closed__28;
return x_11;
}
case 10:
{
lean_object* x_12; 
x_12 = l_Lean_Lsp_instToJsonSymbolKind___closed__31;
return x_12;
}
case 11:
{
lean_object* x_13; 
x_13 = l_Lean_Lsp_instToJsonSymbolKind___closed__34;
return x_13;
}
case 12:
{
lean_object* x_14; 
x_14 = l_Lean_Lsp_instToJsonSymbolKind___closed__37;
return x_14;
}
case 13:
{
lean_object* x_15; 
x_15 = l_Lean_Lsp_instToJsonSymbolKind___closed__40;
return x_15;
}
case 14:
{
lean_object* x_16; 
x_16 = l_Lean_Lsp_instToJsonSymbolKind___closed__43;
return x_16;
}
case 15:
{
lean_object* x_17; 
x_17 = l_Lean_Lsp_instToJsonSymbolKind___closed__46;
return x_17;
}
case 16:
{
lean_object* x_18; 
x_18 = l_Lean_Lsp_instToJsonSymbolKind___closed__49;
return x_18;
}
case 17:
{
lean_object* x_19; 
x_19 = l_Lean_Lsp_instToJsonSymbolKind___closed__52;
return x_19;
}
case 18:
{
lean_object* x_20; 
x_20 = l_Lean_Lsp_instToJsonSymbolKind___closed__55;
return x_20;
}
case 19:
{
lean_object* x_21; 
x_21 = l_Lean_Lsp_instToJsonSymbolKind___closed__58;
return x_21;
}
case 20:
{
lean_object* x_22; 
x_22 = l_Lean_Lsp_instToJsonSymbolKind___closed__61;
return x_22;
}
case 21:
{
lean_object* x_23; 
x_23 = l_Lean_Lsp_instToJsonSymbolKind___closed__64;
return x_23;
}
case 22:
{
lean_object* x_24; 
x_24 = l_Lean_Lsp_instToJsonSymbolKind___closed__67;
return x_24;
}
case 23:
{
lean_object* x_25; 
x_25 = l_Lean_Lsp_instToJsonSymbolKind___closed__70;
return x_25;
}
case 24:
{
lean_object* x_26; 
x_26 = l_Lean_Lsp_instToJsonSymbolKind___closed__73;
return x_26;
}
default: 
{
lean_object* x_27; 
x_27 = l_Lean_Lsp_instToJsonSymbolKind___closed__76;
return x_27;
}
}
}
}
lean_object* l_Lean_Lsp_instToJsonSymbolKind___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_unbox(x_1);
lean_dec(x_1);
x_3 = l_Lean_Lsp_instToJsonSymbolKind(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_DocumentSymbolAux_detail_x3f___default() {
_start:
{
lean_object* x_1; 
x_1 = lean_box(0);
return x_1;
}
}
lean_object* l_Lean_Lsp_DocumentSymbolAux_children_x3f___default(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_box(0);
return x_2;
}
}
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__2___rarg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) {
_start:
{
uint8_t x_5; 
x_5 = x_3 < x_2;
if (x_5 == 0)
{
lean_object* x_6; 
lean_dec(x_1);
x_6 = x_4;
return x_6;
}
else
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; 
x_7 = lean_array_uget(x_4, x_3);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_4, x_3, x_8);
x_10 = x_7;
lean_inc(x_1);
x_11 = lean_apply_1(x_1, x_10);
x_12 = 1;
x_13 = x_3 + x_12;
x_14 = x_11;
x_15 = lean_array_uset(x_9, x_3, x_14);
x_3 = x_13;
x_4 = x_15;
goto _start;
}
}
}
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__2(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__2___rarg___boxed), 4, 0);
return x_2;
}
}
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_4; 
lean_dec(x_2);
lean_dec(x_1);
x_4 = lean_box(0);
return x_4;
}
else
{
lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_array_get_size(x_5);
x_7 = lean_usize_of_nat(x_6);
lean_dec(x_6);
x_8 = 0;
x_9 = x_5;
x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__2___rarg(x_1, x_7, x_8, x_9);
x_11 = x_10;
x_12 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_12, 0, x_11);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_2);
lean_ctor_set(x_13, 1, x_12);
x_14 = lean_box(0);
x_15 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_15, 0, x_13);
lean_ctor_set(x_15, 1, x_14);
return x_15;
}
}
}
lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__1___rarg), 3, 0);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("name");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("detail");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("selectionRange");
return x_1;
}
}
static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string("children");
return x_1;
}
}
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_3 = lean_ctor_get(x_2, 0);
lean_inc(x_3);
x_4 = lean_ctor_get(x_2, 1);
lean_inc(x_4);
x_5 = lean_ctor_get_uint8(x_2, sizeof(void*)*5);
x_6 = lean_ctor_get(x_2, 2);
lean_inc(x_6);
x_7 = lean_ctor_get(x_2, 3);
lean_inc(x_7);
x_8 = lean_ctor_get(x_2, 4);
lean_inc(x_8);
lean_dec(x_2);
x_9 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_9, 0, x_3);
x_10 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__1;
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_10);
lean_ctor_set(x_11, 1, x_9);
x_12 = lean_box(0);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_12);
x_14 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__2;
x_15 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_1354____spec__1(x_14, x_4);
lean_dec(x_4);
x_16 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_353_(x_6);
x_17 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_499____closed__2;
x_18 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_16);
x_19 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_19, 0, x_18);
lean_ctor_set(x_19, 1, x_12);
x_20 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_353_(x_7);
x_21 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__3;
x_22 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_20);
x_23 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_12);
x_24 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__4;
x_25 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__1___rarg(x_1, x_24, x_8);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_25);
lean_ctor_set(x_26, 1, x_12);
x_27 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_27, 0, x_23);
lean_ctor_set(x_27, 1, x_26);
x_28 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_28, 0, x_19);
lean_ctor_set(x_28, 1, x_27);
switch (x_5) {
case 0:
{
lean_object* x_39; 
x_39 = l_Lean_Lsp_instToJsonSymbolKind___closed__2;
x_29 = x_39;
goto block_38;
}
case 1:
{
lean_object* x_40; 
x_40 = l_Lean_Lsp_instToJsonSymbolKind___closed__5;
x_29 = x_40;
goto block_38;
}
case 2:
{
lean_object* x_41; 
x_41 = l_Lean_Lsp_instToJsonSymbolKind___closed__8;
x_29 = x_41;
goto block_38;
}
case 3:
{
lean_object* x_42; 
x_42 = l_Lean_Lsp_instToJsonSymbolKind___closed__11;
x_29 = x_42;
goto block_38;
}
case 4:
{
lean_object* x_43; 
x_43 = l_Lean_Lsp_instToJsonSymbolKind___closed__14;
x_29 = x_43;
goto block_38;
}
case 5:
{
lean_object* x_44; 
x_44 = l_Lean_Lsp_instToJsonSymbolKind___closed__17;
x_29 = x_44;
goto block_38;
}
case 6:
{
lean_object* x_45; 
x_45 = l_Lean_Lsp_instToJsonSymbolKind___closed__20;
x_29 = x_45;
goto block_38;
}
case 7:
{
lean_object* x_46; 
x_46 = l_Lean_Lsp_instToJsonSymbolKind___closed__23;
x_29 = x_46;
goto block_38;
}
case 8:
{
lean_object* x_47; 
x_47 = l_Lean_Lsp_instToJsonSymbolKind___closed__26;
x_29 = x_47;
goto block_38;
}
case 9:
{
lean_object* x_48; 
x_48 = l_Lean_Lsp_instToJsonSymbolKind___closed__28;
x_29 = x_48;
goto block_38;
}
case 10:
{
lean_object* x_49; 
x_49 = l_Lean_Lsp_instToJsonSymbolKind___closed__31;
x_29 = x_49;
goto block_38;
}
case 11:
{
lean_object* x_50; 
x_50 = l_Lean_Lsp_instToJsonSymbolKind___closed__34;
x_29 = x_50;
goto block_38;
}
case 12:
{
lean_object* x_51; 
x_51 = l_Lean_Lsp_instToJsonSymbolKind___closed__37;
x_29 = x_51;
goto block_38;
}
case 13:
{
lean_object* x_52; 
x_52 = l_Lean_Lsp_instToJsonSymbolKind___closed__40;
x_29 = x_52;
goto block_38;
}
case 14:
{
lean_object* x_53; 
x_53 = l_Lean_Lsp_instToJsonSymbolKind___closed__43;
x_29 = x_53;
goto block_38;
}
case 15:
{
lean_object* x_54; 
x_54 = l_Lean_Lsp_instToJsonSymbolKind___closed__46;
x_29 = x_54;
goto block_38;
}
case 16:
{
lean_object* x_55; 
x_55 = l_Lean_Lsp_instToJsonSymbolKind___closed__49;
x_29 = x_55;
goto block_38;
}
case 17:
{
lean_object* x_56; 
x_56 = l_Lean_Lsp_instToJsonSymbolKind___closed__52;
x_29 = x_56;
goto block_38;
}
case 18:
{
lean_object* x_57; 
x_57 = l_Lean_Lsp_instToJsonSymbolKind___closed__55;
x_29 = x_57;
goto block_38;
}
case 19:
{
lean_object* x_58; 
x_58 = l_Lean_Lsp_instToJsonSymbolKind___closed__58;
x_29 = x_58;
goto block_38;
}
case 20:
{
lean_object* x_59; 
x_59 = l_Lean_Lsp_instToJsonSymbolKind___closed__61;
x_29 = x_59;
goto block_38;
}
case 21:
{
lean_object* x_60; 
x_60 = l_Lean_Lsp_instToJsonSymbolKind___closed__64;
x_29 = x_60;
goto block_38;
}
case 22:
{
lean_object* x_61; 
x_61 = l_Lean_Lsp_instToJsonSymbolKind___closed__67;
x_29 = x_61;
goto block_38;
}
case 23:
{
lean_object* x_62; 
x_62 = l_Lean_Lsp_instToJsonSymbolKind___closed__70;
x_29 = x_62;
goto block_38;
}
case 24:
{
lean_object* x_63; 
x_63 = l_Lean_Lsp_instToJsonSymbolKind___closed__73;
x_29 = x_63;
goto block_38;
}
default: 
{
lean_object* x_64; 
x_64 = l_Lean_Lsp_instToJsonSymbolKind___closed__76;
x_29 = x_64;
goto block_38;
}
}
block_38:
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; 
x_30 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_1626____closed__2;
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set(x_31, 1, x_29);
x_32 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_32, 1, x_12);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_28);
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_15);
lean_ctor_set(x_34, 1, x_33);
x_35 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_35, 0, x_13);
lean_ctor_set(x_35, 1, x_34);
x_36 = l_List_join___rarg(x_35);
x_37 = l_Lean_Json_mkObj(x_36);
return x_37;
}
}
}
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376_(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg), 2, 0);
return x_2;
}
}
lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; lean_object* x_7; 
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_7 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____spec__2___rarg(x_1, x_5, x_6, x_4);
return x_7;
}
}
lean_object* l_Lean_Lsp_instToJsonDocumentSymbolAux___rarg(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg), 2, 1);
lean_closure_set(x_2, 0, x_1);
return x_2;
}
}
lean_object* l_Lean_Lsp_instToJsonDocumentSymbolAux(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonDocumentSymbolAux___rarg), 1, 0);
return x_2;
}
}
lean_object* l_Lean_Lsp_instToJsonDocumentSymbol_go_match__1___rarg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = lean_apply_1(x_2, x_1);
return x_3;
}
}
lean_object* l_Lean_Lsp_instToJsonDocumentSymbol_go_match__1(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonDocumentSymbol_go_match__1___rarg), 2, 0);
return x_2;
}
}
lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = x_2 < x_1;
if (x_4 == 0)
{
lean_object* x_5; 
x_5 = x_3;
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; 
x_6 = lean_array_uget(x_3, x_2);
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_array_uset(x_3, x_2, x_7);
x_9 = x_6;
x_10 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__1(x_9);
x_11 = 1;
x_12 = x_2 + x_11;
x_13 = x_10;
x_14 = lean_array_uset(x_8, x_2, x_13);
x_2 = x_12;
x_3 = x_14;
goto _start;
}
}
}
lean_object* l_Lean_Json_opt___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec(x_2);
x_5 = lean_array_get_size(x_4);
x_6 = lean_usize_of_nat(x_5);
lean_dec(x_5);
x_7 = 0;
x_8 = x_4;
x_9 = l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3(x_6, x_7, x_8);
x_10 = x_9;
x_11 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_1);
lean_ctor_set(x_12, 1, x_11);
x_13 = lean_box(0);
x_14 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_14, 0, x_12);
lean_ctor_set(x_14, 1, x_13);
return x_14;
}
}
}
lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__1(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*5);
x_5 = lean_ctor_get(x_1, 2);
lean_inc(x_5);
x_6 = lean_ctor_get(x_1, 3);
lean_inc(x_6);
x_7 = lean_ctor_get(x_1, 4);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_8, 0, x_2);
x_9 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__1;
x_10 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_10, 0, x_9);
lean_ctor_set(x_10, 1, x_8);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_10);
lean_ctor_set(x_12, 1, x_11);
x_13 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__2;
x_14 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_1354____spec__1(x_13, x_3);
lean_dec(x_3);
x_15 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_353_(x_5);
x_16 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_499____closed__2;
x_17 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_17, 0, x_16);
lean_ctor_set(x_17, 1, x_15);
x_18 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_18, 0, x_17);
lean_ctor_set(x_18, 1, x_11);
x_19 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_353_(x_6);
x_20 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__3;
x_21 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_19);
x_22 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_22, 0, x_21);
lean_ctor_set(x_22, 1, x_11);
x_23 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__4;
x_24 = l_Lean_Json_opt___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__2(x_23, x_7);
x_25 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_25, 0, x_24);
lean_ctor_set(x_25, 1, x_11);
x_26 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_26, 0, x_22);
lean_ctor_set(x_26, 1, x_25);
x_27 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_27, 0, x_18);
lean_ctor_set(x_27, 1, x_26);
switch (x_4) {
case 0:
{
lean_object* x_38; 
x_38 = l_Lean_Lsp_instToJsonSymbolKind___closed__2;
x_28 = x_38;
goto block_37;
}
case 1:
{
lean_object* x_39; 
x_39 = l_Lean_Lsp_instToJsonSymbolKind___closed__5;
x_28 = x_39;
goto block_37;
}
case 2:
{
lean_object* x_40; 
x_40 = l_Lean_Lsp_instToJsonSymbolKind___closed__8;
x_28 = x_40;
goto block_37;
}
case 3:
{
lean_object* x_41; 
x_41 = l_Lean_Lsp_instToJsonSymbolKind___closed__11;
x_28 = x_41;
goto block_37;
}
case 4:
{
lean_object* x_42; 
x_42 = l_Lean_Lsp_instToJsonSymbolKind___closed__14;
x_28 = x_42;
goto block_37;
}
case 5:
{
lean_object* x_43; 
x_43 = l_Lean_Lsp_instToJsonSymbolKind___closed__17;
x_28 = x_43;
goto block_37;
}
case 6:
{
lean_object* x_44; 
x_44 = l_Lean_Lsp_instToJsonSymbolKind___closed__20;
x_28 = x_44;
goto block_37;
}
case 7:
{
lean_object* x_45; 
x_45 = l_Lean_Lsp_instToJsonSymbolKind___closed__23;
x_28 = x_45;
goto block_37;
}
case 8:
{
lean_object* x_46; 
x_46 = l_Lean_Lsp_instToJsonSymbolKind___closed__26;
x_28 = x_46;
goto block_37;
}
case 9:
{
lean_object* x_47; 
x_47 = l_Lean_Lsp_instToJsonSymbolKind___closed__28;
x_28 = x_47;
goto block_37;
}
case 10:
{
lean_object* x_48; 
x_48 = l_Lean_Lsp_instToJsonSymbolKind___closed__31;
x_28 = x_48;
goto block_37;
}
case 11:
{
lean_object* x_49; 
x_49 = l_Lean_Lsp_instToJsonSymbolKind___closed__34;
x_28 = x_49;
goto block_37;
}
case 12:
{
lean_object* x_50; 
x_50 = l_Lean_Lsp_instToJsonSymbolKind___closed__37;
x_28 = x_50;
goto block_37;
}
case 13:
{
lean_object* x_51; 
x_51 = l_Lean_Lsp_instToJsonSymbolKind___closed__40;
x_28 = x_51;
goto block_37;
}
case 14:
{
lean_object* x_52; 
x_52 = l_Lean_Lsp_instToJsonSymbolKind___closed__43;
x_28 = x_52;
goto block_37;
}
case 15:
{
lean_object* x_53; 
x_53 = l_Lean_Lsp_instToJsonSymbolKind___closed__46;
x_28 = x_53;
goto block_37;
}
case 16:
{
lean_object* x_54; 
x_54 = l_Lean_Lsp_instToJsonSymbolKind___closed__49;
x_28 = x_54;
goto block_37;
}
case 17:
{
lean_object* x_55; 
x_55 = l_Lean_Lsp_instToJsonSymbolKind___closed__52;
x_28 = x_55;
goto block_37;
}
case 18:
{
lean_object* x_56; 
x_56 = l_Lean_Lsp_instToJsonSymbolKind___closed__55;
x_28 = x_56;
goto block_37;
}
case 19:
{
lean_object* x_57; 
x_57 = l_Lean_Lsp_instToJsonSymbolKind___closed__58;
x_28 = x_57;
goto block_37;
}
case 20:
{
lean_object* x_58; 
x_58 = l_Lean_Lsp_instToJsonSymbolKind___closed__61;
x_28 = x_58;
goto block_37;
}
case 21:
{
lean_object* x_59; 
x_59 = l_Lean_Lsp_instToJsonSymbolKind___closed__64;
x_28 = x_59;
goto block_37;
}
case 22:
{
lean_object* x_60; 
x_60 = l_Lean_Lsp_instToJsonSymbolKind___closed__67;
x_28 = x_60;
goto block_37;
}
case 23:
{
lean_object* x_61; 
x_61 = l_Lean_Lsp_instToJsonSymbolKind___closed__70;
x_28 = x_61;
goto block_37;
}
case 24:
{
lean_object* x_62; 
x_62 = l_Lean_Lsp_instToJsonSymbolKind___closed__73;
x_28 = x_62;
goto block_37;
}
default: 
{
lean_object* x_63; 
x_63 = l_Lean_Lsp_instToJsonSymbolKind___closed__76;
x_28 = x_63;
goto block_37;
}
}
block_37:
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
x_29 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_1626____closed__2;
x_30 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_30, 0, x_29);
lean_ctor_set(x_30, 1, x_28);
x_31 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set(x_31, 1, x_11);
x_32 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_32, 0, x_31);
lean_ctor_set(x_32, 1, x_27);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_14);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_34, 0, x_12);
lean_ctor_set(x_34, 1, x_33);
x_35 = l_List_join___rarg(x_34);
x_36 = l_Lean_Json_mkObj(x_35);
return x_36;
}
}
}
lean_object* l_Lean_Lsp_instToJsonDocumentSymbol_go(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__1(x_1);
return x_2;
}
}
lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3(x_4, x_5, x_3);
return x_6;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonDocumentSymbol___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonDocumentSymbol_go), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonDocumentSymbol() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonDocumentSymbol___closed__1;
return x_1;
}
}
lean_object* l_Lean_Lsp_instToJsonDocumentSymbolResult(lean_object* x_1) {
_start:
{
lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = lean_array_get_size(x_1);
x_3 = lean_usize_of_nat(x_2);
lean_dec(x_2);
x_4 = 0;
x_5 = x_1;
x_6 = l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSymbol_go___spec__3(x_3, x_4, x_5);
x_7 = x_6;
x_8 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
lean_object* initialize_Init(lean_object*);
lean_object* initialize_Lean_Data_Json(lean_object*);
lean_object* initialize_Lean_Data_Lsp_Basic(lean_object*);
static bool _G_initialized = false;
lean_object* initialize_Lean_Data_Lsp_LanguageFeatures(lean_object* w) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Init(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Data_Json(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Data_Lsp_Basic(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Lsp_Hover_range_x3f___default = _init_l_Lean_Lsp_Hover_range_x3f___default();
lean_mark_persistent(l_Lean_Lsp_Hover_range_x3f___default);
l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11____closed__1 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11____closed__1();
lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_11____closed__1);
l_Lean_Lsp_instToJsonHover___closed__1 = _init_l_Lean_Lsp_instToJsonHover___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonHover___closed__1);
l_Lean_Lsp_instToJsonHover = _init_l_Lean_Lsp_instToJsonHover();
lean_mark_persistent(l_Lean_Lsp_instToJsonHover);
l_Lean_Lsp_instFromJsonHover___closed__1 = _init_l_Lean_Lsp_instFromJsonHover___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonHover___closed__1);
l_Lean_Lsp_instFromJsonHover = _init_l_Lean_Lsp_instFromJsonHover();
lean_mark_persistent(l_Lean_Lsp_instFromJsonHover);
l_Lean_Lsp_instFromJsonDocumentSymbolParams___closed__1 = _init_l_Lean_Lsp_instFromJsonDocumentSymbolParams___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonDocumentSymbolParams___closed__1);
l_Lean_Lsp_instFromJsonDocumentSymbolParams = _init_l_Lean_Lsp_instFromJsonDocumentSymbolParams();
lean_mark_persistent(l_Lean_Lsp_instFromJsonDocumentSymbolParams);
l_Lean_Lsp_instToJsonDocumentSymbolParams___closed__1 = _init_l_Lean_Lsp_instToJsonDocumentSymbolParams___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentSymbolParams___closed__1);
l_Lean_Lsp_instToJsonDocumentSymbolParams = _init_l_Lean_Lsp_instToJsonDocumentSymbolParams();
lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentSymbolParams);
l_Lean_Lsp_instToJsonSymbolKind___closed__1 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__1);
l_Lean_Lsp_instToJsonSymbolKind___closed__2 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__2();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__2);
l_Lean_Lsp_instToJsonSymbolKind___closed__3 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__3();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__3);
l_Lean_Lsp_instToJsonSymbolKind___closed__4 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__4();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__4);
l_Lean_Lsp_instToJsonSymbolKind___closed__5 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__5();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__5);
l_Lean_Lsp_instToJsonSymbolKind___closed__6 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__6();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__6);
l_Lean_Lsp_instToJsonSymbolKind___closed__7 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__7();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__7);
l_Lean_Lsp_instToJsonSymbolKind___closed__8 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__8();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__8);
l_Lean_Lsp_instToJsonSymbolKind___closed__9 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__9();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__9);
l_Lean_Lsp_instToJsonSymbolKind___closed__10 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__10();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__10);
l_Lean_Lsp_instToJsonSymbolKind___closed__11 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__11();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__11);
l_Lean_Lsp_instToJsonSymbolKind___closed__12 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__12();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__12);
l_Lean_Lsp_instToJsonSymbolKind___closed__13 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__13();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__13);
l_Lean_Lsp_instToJsonSymbolKind___closed__14 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__14();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__14);
l_Lean_Lsp_instToJsonSymbolKind___closed__15 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__15();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__15);
l_Lean_Lsp_instToJsonSymbolKind___closed__16 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__16();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__16);
l_Lean_Lsp_instToJsonSymbolKind___closed__17 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__17();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__17);
l_Lean_Lsp_instToJsonSymbolKind___closed__18 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__18();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__18);
l_Lean_Lsp_instToJsonSymbolKind___closed__19 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__19();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__19);
l_Lean_Lsp_instToJsonSymbolKind___closed__20 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__20();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__20);
l_Lean_Lsp_instToJsonSymbolKind___closed__21 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__21();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__21);
l_Lean_Lsp_instToJsonSymbolKind___closed__22 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__22();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__22);
l_Lean_Lsp_instToJsonSymbolKind___closed__23 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__23();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__23);
l_Lean_Lsp_instToJsonSymbolKind___closed__24 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__24();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__24);
l_Lean_Lsp_instToJsonSymbolKind___closed__25 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__25();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__25);
l_Lean_Lsp_instToJsonSymbolKind___closed__26 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__26();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__26);
l_Lean_Lsp_instToJsonSymbolKind___closed__27 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__27();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__27);
l_Lean_Lsp_instToJsonSymbolKind___closed__28 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__28();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__28);
l_Lean_Lsp_instToJsonSymbolKind___closed__29 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__29();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__29);
l_Lean_Lsp_instToJsonSymbolKind___closed__30 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__30();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__30);
l_Lean_Lsp_instToJsonSymbolKind___closed__31 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__31();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__31);
l_Lean_Lsp_instToJsonSymbolKind___closed__32 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__32();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__32);
l_Lean_Lsp_instToJsonSymbolKind___closed__33 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__33();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__33);
l_Lean_Lsp_instToJsonSymbolKind___closed__34 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__34();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__34);
l_Lean_Lsp_instToJsonSymbolKind___closed__35 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__35();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__35);
l_Lean_Lsp_instToJsonSymbolKind___closed__36 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__36();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__36);
l_Lean_Lsp_instToJsonSymbolKind___closed__37 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__37();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__37);
l_Lean_Lsp_instToJsonSymbolKind___closed__38 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__38();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__38);
l_Lean_Lsp_instToJsonSymbolKind___closed__39 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__39();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__39);
l_Lean_Lsp_instToJsonSymbolKind___closed__40 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__40();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__40);
l_Lean_Lsp_instToJsonSymbolKind___closed__41 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__41();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__41);
l_Lean_Lsp_instToJsonSymbolKind___closed__42 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__42();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__42);
l_Lean_Lsp_instToJsonSymbolKind___closed__43 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__43();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__43);
l_Lean_Lsp_instToJsonSymbolKind___closed__44 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__44();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__44);
l_Lean_Lsp_instToJsonSymbolKind___closed__45 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__45();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__45);
l_Lean_Lsp_instToJsonSymbolKind___closed__46 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__46();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__46);
l_Lean_Lsp_instToJsonSymbolKind___closed__47 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__47();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__47);
l_Lean_Lsp_instToJsonSymbolKind___closed__48 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__48();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__48);
l_Lean_Lsp_instToJsonSymbolKind___closed__49 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__49();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__49);
l_Lean_Lsp_instToJsonSymbolKind___closed__50 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__50();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__50);
l_Lean_Lsp_instToJsonSymbolKind___closed__51 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__51();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__51);
l_Lean_Lsp_instToJsonSymbolKind___closed__52 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__52();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__52);
l_Lean_Lsp_instToJsonSymbolKind___closed__53 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__53();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__53);
l_Lean_Lsp_instToJsonSymbolKind___closed__54 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__54();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__54);
l_Lean_Lsp_instToJsonSymbolKind___closed__55 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__55();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__55);
l_Lean_Lsp_instToJsonSymbolKind___closed__56 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__56();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__56);
l_Lean_Lsp_instToJsonSymbolKind___closed__57 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__57();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__57);
l_Lean_Lsp_instToJsonSymbolKind___closed__58 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__58();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__58);
l_Lean_Lsp_instToJsonSymbolKind___closed__59 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__59();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__59);
l_Lean_Lsp_instToJsonSymbolKind___closed__60 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__60();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__60);
l_Lean_Lsp_instToJsonSymbolKind___closed__61 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__61();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__61);
l_Lean_Lsp_instToJsonSymbolKind___closed__62 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__62();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__62);
l_Lean_Lsp_instToJsonSymbolKind___closed__63 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__63();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__63);
l_Lean_Lsp_instToJsonSymbolKind___closed__64 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__64();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__64);
l_Lean_Lsp_instToJsonSymbolKind___closed__65 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__65();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__65);
l_Lean_Lsp_instToJsonSymbolKind___closed__66 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__66();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__66);
l_Lean_Lsp_instToJsonSymbolKind___closed__67 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__67();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__67);
l_Lean_Lsp_instToJsonSymbolKind___closed__68 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__68();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__68);
l_Lean_Lsp_instToJsonSymbolKind___closed__69 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__69();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__69);
l_Lean_Lsp_instToJsonSymbolKind___closed__70 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__70();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__70);
l_Lean_Lsp_instToJsonSymbolKind___closed__71 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__71();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__71);
l_Lean_Lsp_instToJsonSymbolKind___closed__72 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__72();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__72);
l_Lean_Lsp_instToJsonSymbolKind___closed__73 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__73();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__73);
l_Lean_Lsp_instToJsonSymbolKind___closed__74 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__74();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__74);
l_Lean_Lsp_instToJsonSymbolKind___closed__75 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__75();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__75);
l_Lean_Lsp_instToJsonSymbolKind___closed__76 = _init_l_Lean_Lsp_instToJsonSymbolKind___closed__76();
lean_mark_persistent(l_Lean_Lsp_instToJsonSymbolKind___closed__76);
l_Lean_Lsp_DocumentSymbolAux_detail_x3f___default = _init_l_Lean_Lsp_DocumentSymbolAux_detail_x3f___default();
lean_mark_persistent(l_Lean_Lsp_DocumentSymbolAux_detail_x3f___default);
l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__1 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__1();
lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__1);
l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__2 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__2();
lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__2);
l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__3 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__3();
lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__3);
l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__4 = _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__4();
lean_mark_persistent(l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_376____rarg___closed__4);
l_Lean_Lsp_instToJsonDocumentSymbol___closed__1 = _init_l_Lean_Lsp_instToJsonDocumentSymbol___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentSymbol___closed__1);
l_Lean_Lsp_instToJsonDocumentSymbol = _init_l_Lean_Lsp_instToJsonDocumentSymbol();
lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentSymbol);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
